package com.gcstorage.tvdev.bean;

/**
 * @auth mrz
 * @data 2021/08/10
 * @description 文件分片信息
 */
public class SplitFileBean {

    private String fileName;

    private Integer index;

    private int partCount;

    private byte[] data;

    private String time;

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public int getIndex() {
        return index == null ? 0 :index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int getPartCount() {
        return partCount;
    }

    public void setPartCount(int partCount) {
        this.partCount = partCount;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }
}
